Skip to content

fix: use navigateToHome() in ExternalSuccessScreen#686

Merged
jvsena42 merged 1 commit intomasterfrom
fix/external-success-nav
Jan 21, 2026
Merged

fix: use navigateToHome() in ExternalSuccessScreen#686
jvsena42 merged 1 commit intomasterfrom
fix/external-success-nav

Conversation

@piotr-iohk
Copy link
Copy Markdown
Collaborator

@piotr-iohk piotr-iohk commented Jan 20, 2026

Match iOS (and RN) behavior by navigating directly to home after external channel connection success, instead of popping back to TransferRoot.

Description

Previously, tapping the continue button on the External Success screen used popBackStack<Routes.TransferRoot>(inclusive = true), which didn't explicitly navigate to the Home screen. This caused inconsistent behavior compared to iOS, where the app returns directly to Home after the success screen.

The fix changes the navigation to use navigateToHome(), which properly restores the Home screen without re-composing it. This ensures consistent behavior across platforms and fixes a timing issue with timed sheets in E2E tests. Hopefully fixes @transfer_2 flakiness 🤞

Preview

QA Notes

  1. Connect to external node

    • Go to Transfer → Spending balance → Advanced → Connect to node
    • Scan or paste a valid Lightning node URI
    • Complete the connection flow
    • On success screen, tap the continue button
    • Verify you return directly to the Home screen
  2. Verify Home screen state

    • After returning to Home, verify the activity list shows the new channel
    • Verify the balance reflects the channel opening transaction
    • Verify no unexpected sheets appear immediately after navigation

Match iOS behavior by navigating directly to home after external
channel connection success, instead of popping back to TransferRoot.
@piotr-iohk piotr-iohk requested a review from ovitrif January 20, 2026 18:23
@piotr-iohk piotr-iohk self-assigned this Jan 20, 2026
@piotr-iohk piotr-iohk requested a review from jvsena42 January 20, 2026 18:23
@claude
Copy link
Copy Markdown
Contributor

claude Bot commented Jan 20, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@piotr-iohk
Copy link
Copy Markdown
Collaborator Author

Hopefully fixes @transfer_2 flakiness 🤞

Guess not 😞 : https://github.com/synonymdev/bitkit-android/actions/runs/21182710369/job/60929393314?pr=686

@jvsena42
Copy link
Copy Markdown
Member

utAck

@jvsena42 jvsena42 merged commit ac5d3c5 into master Jan 21, 2026
20 of 23 checks passed
@jvsena42 jvsena42 deleted the fix/external-success-nav branch January 21, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants